{#
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

{% from 'macros-protocol.html' import card %}

{% set image_url = article.info.seo.image or static('img/products/vpn/resource-center/article-1-light.svg') %}
{% set image = '<img class="mzp-c-card-image" src="' ~ image_url ~ '">' %}

{{ card(
  title=article.info.title,
  ga_title=article.info.title,
  aspect_ratio='mzp-has-aspect-16-9',
  desc=article.info.blurb,
  image=image,
  link_url=url('products.vpn.resource-center.article', article.info.slug)
) }}
